package com.binguo.model.mapper;

import com.binguo.model.api.vo.DeskExtendVO;
import com.binguo.model.core.Mapper;
import com.binguo.model.model.CashierDesk;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CashierDeskMapper extends Mapper<CashierDesk> {

    List<DeskExtendVO> getType(@Param("ccode") String ccode);

    List<Integer> getKuangShiMenJinDeskIdList(@Param("shopId") Integer shopId);
    @Select("SELECT * FROM cashier_desk where ccode = #{ccode} and deleted = 0")
    CashierDesk getCashierDeskByCcode(@Param("ccode") String ccode);
}